package com.wing.res.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wing.res.dao.ResProductQualityTemplateParamDao;
import com.wing.res.model.entity.ResProductQualityTemplateParam;
import com.wing.res.model.response.ResProductQualityTemplateParamVo;
import com.wing.res.service.ResProductQualityTemplateParamService;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 质检模板-ServiceImpl
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-23 21:32
 **/
@Service
public class ResProductQualityTemplateServiceParamImpl extends ServiceImpl<ResProductQualityTemplateParamDao, ResProductQualityTemplateParam> implements ResProductQualityTemplateParamService {

    /**
     * 查询质检参数信息
     * @param templateId
     * @return
     */
    @Override
    public List<ResProductQualityTemplateParamVo> listParamsBy(Long templateId) {
        return baseMapper.listParamsBy(templateId);
    }
}
